﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LJ.EventBus.Abstractions;


public interface IEventBusHandler<TEventData> where TEventData : new ()
{
    Task ExecuteAsync(TEventData eventData, IDictionary<string, string> heads);
}